package com.dianning.bean;

import java.io.*;
import java.util.*;

public class UserInfo implements Serializable {
	private static final long serialVersionUID = 3938860373226088110L;
	
	private long id;					//用户ID
	private String username;			//用户名
	private String password;			//密码
	private String repassword;			//加密密码
	private String name;				//姓名
	private String question;			//提示问题
	private String answer;				//答案
	private Date regTime;				//注册时间
	private String regIP;				//注册IP
	private int loginTimes;				//登陆次数
	private Date lastLoginTime;			//最后登陆时间
	private String lastLoginIP;			//最后登陆IP
	private int available;				//是否激活
	private int usertype;				//用户类型
	private int idcardstatus;			//身份证认证
	private int credit;					//信用值
	
	private UserDetail userDetail;		//用户扩展信息
	private Resume resume;				//简历
	private Money money;				//积分
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRepassword() {
		return repassword;
	}
	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public Date getRegTime() {
		return regTime;
	}
	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}
	public String getRegIP() {
		return regIP;
	}
	public void setRegIP(String regIP) {
		this.regIP = regIP;
	}
	public int getLoginTimes() {
		return loginTimes;
	}
	public void setLoginTimes(int loginTimes) {
		this.loginTimes = loginTimes;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLastLoginIP() {
		return lastLoginIP;
	}
	public void setLastLoginIP(String lastLoginIP) {
		this.lastLoginIP = lastLoginIP;
	}
	public int getAvailable() {
		return available;
	}
	public void setAvailable(int available) {
		this.available = available;
	}
	public int getUsertype() {
		return usertype;
	}
	public void setUsertype(int usertype) {
		this.usertype = usertype;
	}
	public int getIdcardstatus() {
		return idcardstatus;
	}
	public void setIdcardstatus(int idcardstatus) {
		this.idcardstatus = idcardstatus;
	}
	public int getCredit() {
		return credit;
	}
	public void setCredit(int credit) {
		this.credit = credit;
	}
	
	
	public UserDetail getUserDetail() {
		return userDetail;
	}
	public void setUserDetail(UserDetail userDetail) {
		this.userDetail = userDetail;
	}
	public Resume getResume() {
		return resume;
	}
	public void setResume(Resume resume) {
		this.resume = resume;
	}
	public Money getMoney() {
		return money;
	}
	public void setMoney(Money money) {
		this.money = money;
	}

}
